using System;
using System.Collections.Generic;
using System.Text;

namespace Publicuse.Entity
{
  /// <summary>
  /// 数据库信息
  /// </summary>
  public class DataBase
  {
    public List<TableModel> list { get; set; }

    /// <summary>
    /// 版本号
    /// </summary>
    public string version { get; set; }

    /// <summary>
    /// 数据库容量大小
    /// </summary>
    public string size { get; set; }

    /// <summary>
    /// 数据库表条数
    /// </summary>
    public string tablecount { get; set; }

    /// <summary>
    /// 数据库最大连接数
    /// </summary>
    public string maxconnect { get; set; }

    /// <summary>
    /// 数据库当前连接数
    /// </summary>
    public string curconnect { get; set; }

    /// <summary>
    /// 数据库当前连接端口信息
    /// </summary>
    public string curconnectport { get; set; }

    /// <summary>
    /// 上次备份数据库时间
    /// </summary>
    public string lbtime { get; set; }

    /// <summary>
    /// 上次备份操作系统名称
    /// </summary>
    public string lsysname { get; set; }

    /// <summary>
    /// 上次备份操作系统类型
    /// </summary>
    public string lsystype { get; set; }

    /// <summary>
    /// 上次备份操作系统IP
    /// </summary>
    public string lsysip { get; set; }

    /// <summary>
    /// 上次备份浏览器信息
    /// </summary>
    public string lbrowser { get; set; }

    /// <summary>
    /// 上次备份数据库距今时间
    /// </summary>
    public string backupssjd { get; set; }

    public DataBase()
    {
      this.list = new List<TableModel>();
    }
  }

  public class TableModel
  {
    /// <summary>
    /// 数据库表名
    /// </summary>
    public string name { get; set; }

    /// <summary>
    /// 数据库容量大小
    /// </summary>
    public string size { get; set; }

    /// <summary>
    /// 数据库表条数
    /// </summary>
    public string count { get; set; }

    /// <summary>
    /// 数据库表名描述
    /// </summary>
    public string title { get; set; }

  }
}
